package com.erp.user.service;

import com.erp.user.entity.Roles;
import com.erp.common.response.ListVo;
import com.erp.user.request.*;
import com.erp.user.response.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author shensong
 * @program machining_system.v1.0.0
 * @description  服务类
 * @date 2022/12/21 10:51:48
 */
public interface RolesService extends IService<Roles> {

    ListVo<List<RolesInfoResp>> index(RolesPageReq request);

    Boolean store(RolesAddReq request);

    Boolean update(RolesUpdateReq request);

    Boolean destroy(RolesDeleteReq request);

    Boolean approve(RolesApproveReq request);

    Boolean enabled(RolesStatusReq request);

    RolesInfoResp show(RolesInfoReq request);

    RolesDetailInfoResp detail(RolesInfoReq request);

    List<RolesInfoResp> option(RolesListReq request);

    List<RolesSearchInfoResp> search(RolesSearchReq request);

}
